/**
 *
 */
package com.zhuoyue.elmt.data;

import com.eit.eitsite.common.persistence.DataEntity;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.hibernate.validator.constraints.Length;

import javax.validation.constraints.NotNull;
import java.util.Date;

/**
 * 应急救援Entity
 *
 * @author JiangYH
 * @version 2017-04-08
 */
public class WbEmergencyHelpType {
    private String id;
    private String helpMan;		// 求助人
    private String rescueMan;		// 救援人
    private String tzsbbh;		// 特种设备ID
    private String sbzcdm;		// 设备注册代码
    private Date helpDate;		// 求助时间
    private Date rescueDate;		// 救援时间
    private String remark;		// 备注
    private Date arriveDate;		// 到达时间
    private String hopeArriveDate;		// 期望到达时间
    private Date responseDate;		// 应答时间
    private String longitude;		// 经度
    private String latitude;		// 纬度
    private String helpPhone;		// 求助人电话
    private String rescuePhone;		// 救援人电话
    private String deviceAddr;		// 设备地点
    private String helpUnit;		// 求助人维保单位
    private String rescueUnit;		// 救援人维保单位
    private String status;		// 状态
    private String failureStatus;		// 故障类型
    private String helpManName;		// 求助人姓名
    private String rescueManName;		// 救援人姓名
    private String helpUnitName;		// 求助人维保单位名称
    private String rescueUnitName;		// 救援人维保单位名称
    private Date cancelDate; // 取消时间

    // 设备信息
    private String sydwmc; // 使用单位
    private String sbsydd; // 设备使用地点
    private String dwnbbh; // 单位内部编号

    private String pushType; // 推送消息类型 1发布 2接单

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getHelpMan() {
        return helpMan;
    }

    public void setHelpMan(String helpMan) {
        this.helpMan = helpMan;
    }

    public String getRescueMan() {
        return rescueMan;
    }

    public void setRescueMan(String rescueMan) {
        this.rescueMan = rescueMan;
    }

    public String getTzsbbh() {
        return tzsbbh;
    }

    public void setTzsbbh(String tzsbbh) {
        this.tzsbbh = tzsbbh;
    }

    public String getSbzcdm() {
        return sbzcdm;
    }

    public void setSbzcdm(String sbzcdm) {
        this.sbzcdm = sbzcdm;
    }

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    public Date getHelpDate() {
        return helpDate;
    }

    public void setHelpDate(Date helpDate) {
        this.helpDate = helpDate;
    }

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    public Date getRescueDate() {
        return rescueDate;
    }

    public void setRescueDate(Date rescueDate) {
        this.rescueDate = rescueDate;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    public Date getArriveDate() {
        return arriveDate;
    }

    public void setArriveDate(Date arriveDate) {
        this.arriveDate = arriveDate;
    }

    public String getHopeArriveDate() {
        return hopeArriveDate;
    }

    public void setHopeArriveDate(String hopeArriveDate) {
        this.hopeArriveDate = hopeArriveDate;
    }

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    public Date getResponseDate() {
        return responseDate;
    }

    public void setResponseDate(Date responseDate) {
        this.responseDate = responseDate;
    }

    public String getLongitude() {
        return longitude;
    }

    public void setLongitude(String longitude) {
        this.longitude = longitude;
    }

    public String getLatitude() {
        return latitude;
    }

    public void setLatitude(String latitude) {
        this.latitude = latitude;
    }

    public String getHelpPhone() {
        return helpPhone;
    }

    public void setHelpPhone(String helpPhone) {
        this.helpPhone = helpPhone;
    }

    public String getRescuePhone() {
        return rescuePhone;
    }

    public void setRescuePhone(String rescuePhone) {
        this.rescuePhone = rescuePhone;
    }

    public String getDeviceAddr() {
        return deviceAddr;
    }

    public void setDeviceAddr(String deviceAddr) {
        this.deviceAddr = deviceAddr;
    }

    public String getHelpUnit() {
        return helpUnit;
    }

    public void setHelpUnit(String helpUnit) {
        this.helpUnit = helpUnit;
    }

    public String getRescueUnit() {
        return rescueUnit;
    }

    public void setRescueUnit(String rescueUnit) {
        this.rescueUnit = rescueUnit;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getFailureStatus() {
        return failureStatus;
    }

    public void setFailureStatus(String failureStatus) {
        this.failureStatus = failureStatus;
    }

    public String getHelpManName() {
        return helpManName;
    }

    public void setHelpManName(String helpManName) {
        this.helpManName = helpManName;
    }

    public String getRescueManName() {
        return rescueManName;
    }

    public void setRescueManName(String rescueManName) {
        this.rescueManName = rescueManName;
    }

    public String getHelpUnitName() {
        return helpUnitName;
    }

    public void setHelpUnitName(String helpUnitName) {
        this.helpUnitName = helpUnitName;
    }

    public String getRescueUnitName() {
        return rescueUnitName;
    }

    public void setRescueUnitName(String rescueUnitName) {
        this.rescueUnitName = rescueUnitName;
    }

    public Date getCancelDate() {
        return cancelDate;
    }

    public void setCancelDate(Date cancelDate) {
        this.cancelDate = cancelDate;
    }

    public String getSydwmc() {
        return sydwmc;
    }

    public void setSydwmc(String sydwmc) {
        this.sydwmc = sydwmc;
    }

    public String getSbsydd() {
        return sbsydd;
    }

    public void setSbsydd(String sbsydd) {
        this.sbsydd = sbsydd;
    }

    public String getDwnbbh() {
        return dwnbbh;
    }

    public void setDwnbbh(String dwnbbh) {
        this.dwnbbh = dwnbbh;
    }

    public String getPushType() {
        return pushType;
    }

    public void setPushType(String pushType) {
        this.pushType = pushType;
    }
}